﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="user_modify.aspx.cs" Inherits="SysYcjy_user_modify" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">  
    <table border="0" width="100%">
        <tr>
            <td width="100%">
                <asp:Label ID="Label1" runat="server" Text="用户名"></asp:Label>
                <asp:TextBox ID="txtusername" runat="server" ReadOnly="True" Width="95px"></asp:TextBox>
                &nbsp;
                <asp:Label ID="Label3" runat="server" Text="身份"></asp:Label>
                <asp:TextBox ID="txtrole" runat="server" ReadOnly="True" Width="97px"></asp:TextBox><asp:Label
                    ID="Label2" runat="server" Text="名称"></asp:Label>
                <asp:TextBox ID="txtusername1" runat="server" Width="413px"></asp:TextBox></td>
        </tr>
        <tr>
            <td width="100%">
                <asp:Label ID="Label4" runat="server" Text="手机"></asp:Label>
                <asp:TextBox ID="txtmobile" runat="server"></asp:TextBox>
                <asp:Label ID="Label5" runat="server" Text="e-mail"></asp:Label>
                <asp:TextBox ID="txtmail" runat="server"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="height: 26px" width="100%">
                <asp:Label ID="Label8" runat="server" Text="所在城市"></asp:Label>
                <asp:TextBox ID="txtcity" runat="server"></asp:TextBox><asp:Label ID="Label6" runat="server"
                    Text="单位"></asp:Label>
                <asp:TextBox ID="txtgzdw" runat="server" Width="413px"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="height: 191px" width="100%">
                <asp:Label ID="Label7" runat="server" Text="简介"></asp:Label><br />
                <asp:TextBox ID="txtgrjj" runat="server" Height="159px" TextMode="MultiLine" Width="413px"></asp:TextBox></td>
        </tr>
        <tr>
            <td width="100%">
                <asp:Button ID="cmdsubmit" runat="server" Text="提交" Width="90px" OnClick="Button1_Click" />&nbsp;
                <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:gConnectionString %>"
                    SelectCommand="SELECT * FROM [account] WHERE ([username] = @username)">
                    <SelectParameters>
                        <asp:ControlParameter ControlID="txtusername" Name="username" PropertyName="Text"
                            Type="String" />
                    </SelectParameters>
                </asp:SqlDataSource>
            </td>
        </tr>
    </table>
</form>
</body>
</html>
